package com.lagou.service;


import com.lagou.dao.EmailDao;
import com.lagou.edu.pojo.LagouToken;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public class LagouEmailService {
    @Autowired
    private EmailDao emailDao;

    public LagouToken getById(Integer id) {
        return emailDao.getOne(id);
    }

}
